home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 12430 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.7 KB

  1. Path: EU.net!sun4nl!xs4all!usenet
  2. From: jtv@xs4all.nl (Jeroen T. Vermeulen)
  3. Newsgroups: comp.sys.amiga.advocacy,comp.sys.amiga.misc
  4. Subject: Re: Why are europeans dumb enough to buy amigas?
  5. Date: Sun, 14 Apr 96 16:42:53
  6. Organization: Leiden University, Mathematics & Computer Science, The Netherlands
  7. Message-ID: <19960414.7B61038.F563@asd01-15.dial.xs4all.nl>
  8. References: <316328a1.113870448@news.onramp.net> <2213.6673T854T1189@ak.planet.gen.nz> <316b18f3.9522909@news.onramp.net>
  9. NNTP-Posting-Host: asd01-15.dial.xs4all.nl
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  14.  
  15.  
  16. In article <316b18f3.9522909@news.onramp.net> dcorn@paradise.pplnet.com (David Corn) writes:
  17. > On Tue, 9 Apr 1996 12:30:04 GMT, finnh@ak.planet.gen.nz (Finn Higgins)
  18. > wrote:
  19.  
  20. > >yep.  but you don't get all that much extra functionality out of it when you
  21. > >register.  Plus, I'd like to see you emulate a Mac at the same speed on your
  22. > >PC for the same amount of money.
  23. >
  24. > Granted that Emulator costs money and lacks a few features (quite a
  25. > few, granted!).  However, it is a nice solution for those with a very
  26. > fast pc - even on slower PCs like the 486100, 040/25 or 33 speeds are
  27. > attainable.  That's not at all bad.
  28.  
  29. In fact it's questionable.  UAE doesn't reach the speed of a plain 7 MHz 68000
  30. on a Pentium, according to the author.
  31.  
  32. For any interpreter, and there's less difference with dynamic translation than
  33. emulator writers would like, you'd need at least three data memory accesses just
  34. to be able emulate an 040 instruction.  That alone would account for several 486
  35. cycles per emulated instruction (at least three if the D cache is
  36. single-ported), but in half the L1 cache size (because 040 I fetches effectively
  37. become 486 D loads).  On top of that come the register spills of the emulator
  38. itself.
  39.  
  40. Then come Little-Endian conversion, status bits, and exceptions.  That's worth
  41. at least a cycle per instruction as well.  Finally of course you've got to
  42. perform the actual instruction.  So even assuming plain 68000 emulation, no MMU
  43. and no FPU (which is much slower on the 486 if you ask me), you'd need to create
  44. some kind of handicap to slow down the 040 or the 486 won't keep up with only
  45. three times the clock speed (and about the same bus speed).  Without a L2 cache
  46. the 486 doesn't stand a chance at all.
  47.  
  48. Of course the 040's more orthogonal design does make it a lot easier to emulate:
  49. No scores of undocumented instructions, no Appendix H crap, no messy segmented
  50. memory model, no self-modifying code.
  51.  
  52. Wait a minute!  No self-modifying code?  You're not talking about a 68k system
  53. that does this, are you?  Because that would mean you'd either have to disable
  54. the caches or flush them all the time, which would bias the comparison in favour
  55. of an emulator.
  56.  
  57.  
  58. >                                             Now, how fast can an Amiga
  59. > emulate a PC?  And what are the relative percentages of users that see
  60. > a need to emulate another platform, on both platforms?
  61.  
  62. Don't really know, but I do know that I used to compile my Pascal assignments
  63. with a PC compiler on my A500.  Worked like a charm, except for the lousy "OS"
  64. (or really just "program loader") I had to run on the PC side.  It's a funny
  65. feeling to see a machine thinking in 16-bit numbers as late as the 1980's.  Some
  66. say they're still doing it now...
  67.  
  68. --
  69. ============================================================================
  70. #  Jeroen T. Vermeulen   \"How are we doing kid?"/   Yes, we use Amigas.   #
  71. #---  jtv@xs4all.nl    ---\"Oh, same as always."/--         ...          --#
  72. #jvermeul@wi.leidenuniv.nl \ "That bad, huh?"  /  Got a problem with that? #
  73. Moderator for alt.support.cluelessness
  74.